// wokou.c
// Last Modifyed by Ahda on Jan. 4 2002

inherit NPC;

void create()
{
        set_name("倭寇", ({ "wo kou", "wo", "kou"}));
        set("gender", "男性");
        set("age", random(10) + 20);
        set("str", 25);
        set("dex", 16);
        set("long", "入侵我天朝宝岛台湾的日本武人，江湖通称武士。我天朝篾之倭寇。\n");
        set("combat_exp", 30000);
        set("shen_type", 1);
        set("attitude", "aggressive");

        set_temp("apply/attack", 35);
        set_temp("apply/defense", 35);
        set_temp("apply/armor", 35);
        set_temp("apply/damage", 35);
        set_skill("blade", 35);
        set_skill("dodge", 35);

        setup();
        carry_object(__DIR__"obj/wodao")->wield();
}

void init()
{
        object ob;

        ::init();

        if( interactive(ob = this_player()) && !is_fighting() )
        {
                remove_call_out("greeting");
                call_out("greeting", 1, ob);
        }
}

void greeting(object ob)
{
        if( environment(ob) != environment() ) return;
        say("倭寇抬眼大怒，牙缝里出声：八格牙路！你的，敢说台湾是你们的？死啦死啦的！\n");
}
